home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM A / PD-ROM A.iso / Education / Math / LOC(Metric) / AboutLOCCounter.c next >
Encoding:
C/C++ Source or Header  |  1991-10-14  |  1.2 KB  |  51 lines  |  [TEXT/KAHL]

  1. /* AboutLOCCounter.c -- Modal one-shot dialog */
  2. /* Created 10/4/91 10:40 AM by AppMaker */
  3.  
  4. #include "ResourceDefs.h"
  5. #include "DialogAids.h"
  6. #include "TBUtilities.h"
  7. #include "AboutLOCCounter.h"
  8.  
  9. #define OKButton        1 
  10. #define ThinkCSourceMetricsToLabel    2 
  11. #define Line3            3 
  12. #define DevelopedByLabel    4 
  13. #define SteveNiesLabel    5 
  14. #define x122N4thAvenueLabel    6 
  15. #define IndialanticFL32907Label    7 
  16. #define SoftwareProductivitySolLabel    8 
  17. #define v10Label        9 
  18.  
  19. /*----------*/
  20. static void DoOKButton (void);
  21. static void DoOKButton ()
  22. {
  23. } /*DoOKButton*/
  24.  
  25. /*----------*/
  26. void GetAboutLOCCounter (AboutLOCCounter)
  27. AboutLOCCounterRec    *AboutLOCCounter;
  28. {
  29.     DialogPtr    theDialog;
  30.     short        itemNr;
  31.     register AboutLOCCounterPtr    info;
  32.  
  33.     InitCursor ();
  34.     PositionDialog ( 'DLOG', AboutLOCCounterID );
  35.     theDialog = GetNewDialog (AboutLOCCounterID, NULL, (WindowPtr) -1L);
  36.     SetPort (theDialog);
  37.     info = AboutLOCCounter;
  38.     SetUserItem (Line3, (ProcPtr) &LineItem);
  39.     ShowWindow (theDialog);
  40.     OutlineButton ( OKButton );
  41.     ModalDialog (NULL, &itemNr);
  42.     switch (itemNr) {
  43.     case OKButton:
  44.         DoOKButton ();
  45.         break;
  46.     } /*case*/
  47.     DisposDialog (theDialog);
  48. } /*GetAboutLOCCounter*/
  49.  
  50. /* AboutLOCCounter.c */
  51.